package com.enation.app.javashop.api.client;

import com.enation.app.javashop.model.system.dos.SystemLogs;
import com.enation.app.javashop.service.system.SystemLogsManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author zs
 * @version v2.0
 * @Description: 系统日志
 * @date 2021-12-21
 * @since v7.0.0
 */
@RestController
@RequestMapping("/client/system-logs")
@ApiIgnore
public class SystemLogsClientController {

    @Autowired
    private SystemLogsManager systemLogsManager;

    @PostMapping
    public void add(@RequestBody SystemLogs systemLogs) {
        systemLogsManager.add(systemLogs);
    }


}
